package com.cndw.kungfu.vo;

import java.util.HashMap;

import com.cndw.kungfu.config.ConstantsRadio;
import com.cndw.kungfu.model.Context;


/**
 * 玩家获得某些属性的通知 返回增加的值
 * @author fantadust
 * @date 2011-5-1 下午04:14:18
 */

public class PlayerReceiveVO extends HashMap<String, Object> {



	/**
	 * 
	 */
	private static final long serialVersionUID = -2678235783048258183L;

	public static final String RADIO_NAME 	= ConstantsRadio.playerReceive;


	/**
	 * 金币
	 */
	public static final String RECEIVE_GOLD 	= "gold";
	public static final String RECEIVE_GOLDTICKE = "goldTicke";
	/**
	 * 经验
	 */
	public static final String RECEIVE_EXP 		= "exp";
	/**
	 * 铜币
	 */
	public static final String RECEIVE_ASSET	= "asset";
	/**
	 * 血量
	 */
	public static final String RECEIVE_HP 		= "hp";
	/**
	 * 魔法量
	 */
	public static final String RECEIVE_MP 		= "mp";
	/**
	 * 力量
	 */
	public static final String RECEIVE_POWER	= "power";
	/**
	 * 体力
	 */
	public static final String RECEIVE_PHYSICAL	= "physical";
	/**
	 * 敏捷
	 */
	public static final String RECEIVE_AGILE	= "agile";
	/**
	 * 智力
	 */
	public static final String RECEIVE_WIT		= "wit";
	/**
	 * 收到信件
	 */
	public static final String RECEIVE_MAIL 	= "mail";

	public static final String RECEIVE_EVENT 	= "event";
	
	public static final String STATE_EVENT 	= "state";

	public static final String RECEIVE_EXPPOOL = "expPool";
	
	public static final String aiStep = "aiStep";
	
	public void broadcast(Long... playerId){		
		Context.getTcpServer().broadcast(this, RADIO_NAME, playerId);		
	}	
}
